﻿@model BugTracker.Models.Project
@{
    ViewBag.Title = "CreateProject";
    Layout = "~/Views/Shared/_LayoutQA.cshtml";
}

<h2>Create Project</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

<fieldset>
        <legend>Create Project</legend>
        <br />
         <div class="display-label"><b>Project Name</b></div>
        <div class="editor-field">
            @Html.EditorFor(model => model.project_name)
            @Html.ValidationMessageFor(model => model.project_name)
        </div>
    
          <br /> 
          <br /> 
         
        <div class="display-label"><b>Task Assigned</b></div>

        <div class="editor-field">
            @Html.EditorFor(model => model.task_assign)
            @Html.ValidationMessageFor(model => model.task_assign)
        </div>

          <br />
         <div class="display-label"><b>Descrition</b></div>

        <div class="editor-field">
            @Html.TextAreaFor(model => model.project_description)
            @Html.ValidationMessageFor(model => model.project_description)
        </div>

          <br />
            <div class="display-label"><b>Date Created</b></div>

        <div class="editor-field">
            @Html.EditorFor(model => model.project_datecreated)
            @Html.ValidationMessageFor(model => model.project_datecreated)
        </div>

          <br />
         <div class="display-label"><b>Deadline</b></div>

        <div class="editor-field">
            @Html.EditorFor(model => model.project_deadline)
            @Html.ValidationMessageFor(model => model.project_deadline)
        </div>

         
        <p>
            <input type="submit" value="Create Project" />
        </p>

        <div>
    @Html.ActionLink("Back to Projects", "Project")
</div>
 



      </fieldset> 
}